<template>
  <view class="container">
    <uni-forms :modelValue="form" label-width='200rpx'>

      <uni-forms-item label="申领金额" name="amount">
        <uni-easyinput type="number" v-model="form.amount" placeholder="请输入申领金额"></uni-easyinput>
      </uni-forms-item>

    </uni-forms>
    <view class="tip">
      <uni-icons type="help" size="20"></uni-icons>
      <text style="font-size: 12px;">
        填写说明：【{{
          currentSyr.name
        }}】的某一段婚姻关系解除或者丧偶，经提前向受托人提供有效的离婚证明/其配偶已经死亡的证明资料等材料后，可一次性申领不超过【{{form.amount || '申领金额'}}】万元的婚变生活扶助金。婚变生活扶助金仅限申领一次。如无需填写，则选择跳过。
      </text>
    </view>
    <view class="bottom" style="display: flex;justify-content: center">
      <button class="button" type="primary" @click="jump(208)">跳过</button>
      <button class="button" type="primary" @click="submit">下一步</button>
    </view>
  </view>
</template>

<script>
import userInfoMixin from "../../common/js/userInfoMixin";

export default {
  mixins: [userInfoMixin],
  data() {
    return {
      name: '207',
      form: {
        amount: ''
      }
    }
  },
  methods: {

    change() {

    },
    prevStep() {
      uni.redirectTo({
        url: '/pages/206syrfpj/206syrfpj',
        success() {
          console.log('succ')
        },
        fail() {
          console.log('failed')
        }
      })
    },
    submit() {
      this.submitData({
        key: 'hbshfzj',
        data: this.form
      }, '208')

    },
  }
}
</script>

<style>

</style>
